#!/bin/bash
docker rmi myorg/myapp
docker build -t myorg/myapp .
docker rm -f myapp
docker run --name myapp -p 13000:1300 -e "JAVA_OPTS=-Xms1024m -Xmx1024m" -e "SPRING_PROFILES_ACTIVE=-Dspring.profiles.active=dev" myorg/myapp